#ifndef RADIOMICSMAIN_H
#define RADIOMICSMAIN_H

#include <QString>
#include <QList>
#include "UiSegmentation.h"
class SeriesInstance;

class RadiomicsMain
{
public:
    RadiomicsMain(const QString &inFile);
    ~RadiomicsMain();

    void startRadiomics();

private:
    void loadInFile();
    void loadImage();
    void loadImageHelpper(const QString &dir);
    void runAlgo();
    void saveResult();
    void prepareSvmParam();
    void prepareNstageParam();

    QString m_inFile;
    QString m_seriesPath;
    QString m_seriesNum;
    QString m_outFile;
    QString m_tumorImageFile;
    SeriesInstance *m_series;
    AlgoParam m_param;
    QList<TumorSeed> seedList;

};

#endif // RADIOMICSMAIN_H
